#ifndef __UP_ADC_H__
#define __UP_ADC_H__

#include "UP_config.h"

extern void ADC_init(uint32_t adc);
/* ADC初始化 */
extern void ADC_init_with_params(uint32_t adc, UP_ADC_PARAMS *params);

extern unsigned short ADC_scan(uint32_t adc, uint8_t channel);

#endif // !__UP_ADC_H__